{extend name="public/base" /}

{block name="body"}	
		
		<div class="global_bg" style="background: url(UPLOADS/{$term.parent.tag.bgimg}) no-repeat top center; width: 100%;min-height: 1028px; height: auto;overflow: hidden; position: absolute; top: 100px;">
			<div class="gloabl_con">
				<div class="comn_title">{$term.parent.name}</div>
				<div class="mainbox">
					<div class="mmsj_list">						
						<div id="mmtab">
    
						    <div class="mmnav">
						        <ul>
						           {foreach $term['parent']['child'] as $key => $t}
										<a href="{$t.url}"><li {if isset($term['address'][$t['id']]) }class="active"{/if}><span {if current($t) === end($t)}style="border: none;"{/if}>{$t.name}</span></li></a>	
									{/foreach}
						            
						        </ul>
						      
						    </div>
						    <div class="mmsj_content">
						        <div class="box" style="display:block;">
									  <ul>
										   {foreach $term.content as $c}
												<li>
													<a href="{$c.url}">
													<p><img src="UPLOADS/{$c.cover_img}" /></p>
													<p>{$c.name}</p> 
												</a>
												</li>
										   {/foreach}	
									  </ul>
						      
						        </div>
						    </div>
						    
						   
						    
						</div>
					</div>
					
					<!--<div class="page">
						<ul>
							<a href=""><li>上一页</li></a>
							<a href=""><li class="on">1</li></a>
							<a href=""><li>2</li></a>
							<a href=""><li>3</li></a>
							<a href=""><li>4</li></a>
							<a href=""><li>5</li></a>
							<a href=""><li>下一页</li></a>
						</ul>
					</div>-->
				</div>
			</div>
{/block}			
			
